<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--

Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License

Title      : Simpletex
Version    : 1.0
Released   : 20070725
Description: A two-column, fixed-width template with light color blend.

Modified for Mukei Administrative System Plugin by Kevin Herrera.

-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>{$page_title} - Admin - Mukei</title>
<link href="{$template_url}default.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="header">
    <div id="logo">
        <h1><a href="{$admin_url}">{$short_title}</a></h1>
        <h2><a href="http://www.mukei.org/" target="_blank">Powered by Mukei</a></h2>
    </div>
    <div id="search">
        Welcome, {$username}! (<a href="{$base_url}">View Site &raquo;</a>)
    </div>
</div>
<div id="menu">
    <ul>
        <li{if $active_link === "home"   } class="active"{/if}><a href="{$admin_home_url}">Home</a></li>
        <li{if $active_link === "clients"} class="active"{/if}><a href="{$admin_clients_url}">Clients</a></li>
        <li{if $active_link === "events" } class="active"{/if}><a href="{$admin_events_url}">Events</a></li>
        <li{if $active_link === "systems"} class="active"{/if}><a href="{$admin_systems_url}">Systems</a></li>
        <li{if $active_link === "other"  } class="active"{/if}><a href="{$admin_other_url}">Other</a></li>
    </ul>
</div>
<hr />
<div id="page">
    <div id="content">
        <div>
            <h1 class="title">{$long_title}</h1>
{foreach from=$admin_panels item=content}
{if strstr( $content.contents, "<p>" )}
{assign var="has_paragraph" value="1"}
{else}
{assign var="has_paragraph" value="0"}
{/if}
{if !empty( $content.title )}
            <h2>{$content.title}</h2>
{/if}
            {if $has_paragraph !== "1"}<p>{/if}{$content.contents}{if $has_paragraph !== "1"}</p>{/if}
{/foreach}
{if $admin_login === "true"}
            <form action="{$admin_url}" method="POST">
            <p>Username: <input type="text" name="username" /></p>
            <p>Password: <input type="password" name="password" /></p>
            </form>
{/if}
        </div>
        <div class="twocols">
            <div class="col1">
                <h2 class="title">{$admin_left_title}</h2>
{if strstr( $admin_left_content, "<p>" ) === "<p>"}
{assign var="has_paragraph" value="1"}
{else}
{assign var="has_paragraph" value="0"}
{/if}
                {if $has_paragraph !== "1"}<p>{/if}{$admin_left_content}{if $has_paragraph !== "1"}</p>{/if}
            </div>
            <div class="col2">
                <h2 class="title">{$admin_right_title}</h2>
{if strstr( $admin_right_content, "<p>" ) === "<p>"}
{assign var="has_paragraph" value="1"}
{else}
{assign var="has_paragraph" value="0"}
{/if}
                {if $has_paragraph !== "1"}<p>{/if}{$admin_right_content}{if $has_paragraph !== "1"}</p>{/if}
            </div>
        </div>
    </div>
    <div id="sidebar">
        <ul>
{foreach from=$admin_modules item=content}
{if strstr( $content, "<p>" )}
{assign var="has_paragraph" value="1"}
{else}
{assign var="has_paragraph" value="0"}
{/if}
            {if $has_paragraph !== "1"}<p>{/if}{$content}{if $has_paragraph !== "1"}</p>{/if}
{/foreach}
        </ul>
    </div>
    <div style="clear: both;">&nbsp;</div>
</div>
<hr />
<div id="footer">
    <p id="legal">Powered by <a href="http://www.mukei.org/" target="_blank">Mukei v{$mukei_version}</a>.
            All Rights Reserved | Designed by <a href="http://www.freecsstemplates.org/" target="_blank">Free CSS Templates</a></p>
</div>
</body>
</html>
